package com.hq.ims.data.utils;

/**
 * lichaojie
 *
 * @ClassName RedisUtil
 **/
public class RedisUtil {

    /**
     * 获取单次缓存key
     *
     * @param key 关键
     * @return {@code String }
     */
    public static String getSingleTimeCacheKey(String userId, String key) {
        //组装重复保存key
        StringBuilder sb = new StringBuilder();
        sb.append("DTS_");  ////DATA_TEMPORARY_STORAGE
        sb.append(userId);
        sb.append("_");
        sb.append(key);
        return sb.toString();
    }
}
